package com.yangyun.spring.aop.xml.exception.aspect;

import org.aspectj.lang.JoinPoint;

/**
 * Created by Mr.no.
 * User:yangyun
 * Date:2017/8/25
 * Time:22:29
 */
public class ExceptionAscept {
    public void throwingException(JoinPoint joinPoint, Throwable ex){
        System.out.println(ex.getMessage());

    }
}
